package Teste;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class NavigationBean implements Serializable {

   

    public String redirectToLogin() {
        return "/pages/login.xhtml?faces-redirect=true";
    }

 
    public String toLogin() {
        return "/pages/login.xhtml";
    }

    public String redirectToInfo() {
        return "/pages/info.xhtml?faces-redirect=true";
    }

    public String redirectToCadastro() {
        return "/pages/cadastro.xhtml?faces-redirect=true";
    }

    public String redirectToJogo() {
        return "/pages/secured/loading.xhtml?faces-redirect=true";
    }


    public String redirectToWelcome() {
        return "/pages/secured/welcome.xhtml?faces-redirect=true";
    }

    public String toWelcome() {
        return "/pages/secured/welcome.xhtml";
    }

    String toSaindo() {
        return "/pages/secured/saindo.xhtml";
    }

}
